package com.ykdl.member.kid.beans;

import java.io.Serializable;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;

import net.wxxr.http.interfaces.IJsonParser;

public class DoctorProfileBean implements Serializable ,IJsonParser{

	/**
	 * self.doctor_id = 0  # 医生状态信息id标识
        self.gender = 0   # 性别
        self.signature = None  # 个人状态
        self.birthday = None  # 出生日期
        self.region = None  # 地区
        self.title = None  # 所属职称
        self.department = None   # 所属科室
        self.agency = None        # 所属机构
        self.specialty = None  # 专业擅长
        self.instruction = None  # 个人信息
	 */
	private static final long serialVersionUID = 1L;
	private String agency ;
	private String birthday ;
	private String department ;
	private int doctor_id ;
	private int gender ;
	private String instruction ;
	private String modified_time ;
	private String region ;
	private String signature ;
	private String specialty ;
	private String title ;
	private String intro ;//个人简介
	public String getIntro() {
		return intro;
	}
	public void setIntro(String intro) {
		this.intro = intro;
	}
	public String getAgency() {
		return agency;
	}
	public void setAgency(String agency) {
		this.agency = agency;
	}
	public String getBirthday() {
		return birthday;
	}
	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}
	public String getDepartment() {
		return department;
	}
	public void setDepartment(String department) {
		this.department = department;
	}
	public int getDoctor_id() {
		return doctor_id;
	}
	public void setDoctor_id(int doctor_id) {
		this.doctor_id = doctor_id;
	}
	public int getGender() {
		return gender;
	}
	public void setGender(int gender) {
		this.gender = gender;
	}
	public String getInstruction() {
		return instruction;
	}
	public void setInstruction(String instruction) {
		this.instruction = instruction;
	}
	public String getModified_time() {
		return modified_time;
	}
	public void setModified_time(String modified_time) {
		this.modified_time = modified_time;
	}
	public String getRegion() {
		return region;
	}
	public void setRegion(String region) {
		this.region = region;
	}
	public String getSignature() {
		return signature;
	}
	public void setSignature(String signature) {
		this.signature = signature;
	}
	public String getSpecialty() {
		return specialty;
	}
	public void setSpecialty(String specialty) {
		this.specialty = specialty;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	@Override
	public IJsonParser parse(String json) throws Exception {
		// TODO Auto-generated method stub
		Gson   gson = null;
		if(null != json){
			GsonBuilder b = new GsonBuilder();
			gson  = b.create();
			return gson.fromJson(json, DoctorProfileBean.class);
		}
		return null;
	}

}
